package com.xiaolin.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaolin.practice.pojo.WorkOrderDays;
import com.xiaolin.practice.pojo.WorkOrderMetrics;
import com.xiaolin.practice.pojo.WorkOrderTypes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkOrderMetricsMapper extends BaseMapper<WorkOrderMetrics> {

    List<WorkOrderDays> getWorkOrderMetrics(@Param("dateFromM") String dateFromM, @Param("dateEnd") String dateEnd);

    List<WorkOrderTypes> getWorkOrderTypes(@Param("dateFromM") String dateFromM, @Param("dateEnd") String dateEnd);
}
